<table id="records">
	<tr>
		<td><b>Scientific Name</b></td>
	</tr>
	<tr>
		<td>
		<?php
			if($results==false){
				echo 'No results Found';
			}else{
				foreach ($results as $row ){
					$species= $row->genus." ". $row->species." ".$row->sub_species." ";
					$id=$row->taxon_id;															
					echo '<tr>';
						echo '<td>';								
							echo anchor('user/species_profile/'.$id,$species );
						echo '</td>';
					echo '</tr>';
				}
			}										
		?>
		</td>
	</tr>
</table>
<p><?php echo $links; //links for pagination?></p>